package com.kiven.beanutils;

public class ConnectionAccesserInfo {
	private static final int OVERTIME = 120000;
	private long ownerTime = 0L;
	private StackTraceElement[] ste;
	private String jdbcName = "";
	
	public ConnectionAccesserInfo(String paramString) {
		this.jdbcName = paramString;
		this.ownerTime = System.currentTimeMillis();
		this.ste = (StackTraceElement[]) Thread.getAllStackTraces().get(Thread.currentThread());
	}
	
	public void checkTimeout(String paramString) {
		if (this.ownerTime == 0L)
			return;
		long l = System.currentTimeMillis();
		if (l-this.ownerTime > 120000L) {
			for (int i=3; i<this.ste.length; i++) {
				StackTraceElement localStackTraceElement = this.ste[i];
				
			}
		}
	}
}
